#pragma once
#include "Stdafx.h"
#include "Object3D.h"
#include "Image.h"

namespace Pulpy
{
	class BillBoard : public Object3D
	{
	private:
		bool _Cross;
		TextureImage _Image;
		float _Scale;
	public:
		BillBoard(char * texture, float width, float height):_Scale(1.0f),_Cross(false) { 
			LoadTGA(&_Image, texture);
			setWidth(width);
			setDepth(width);
			setHeight(height);
		};
		void setScale(float scale)
		{
			_Scale = scale;
		}
		void toggleCross()
		{
			_Cross = !_Cross;
		}
		void draw();
	};
}